package com.kx.center.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.kx.center.entity.IosVersion;
import com.kx.center.mappers.VersionMapper;
import com.kx.center.service.VersionService;

@Service
public class VersionServiceImpl implements VersionService {
	
	@Autowired
	VersionMapper versionMapper;

	@Override
	public void insertIosVersion(IosVersion iosVersion) {
		versionMapper.insertIosVersion(iosVersion);
	}

	@Override
	public IosVersion findNewIosVersion() {
		return versionMapper.findNewIosVersion();
	}

}
